<?php 
define('IN_QY',true);
session_start();
require("include/common.inc.php");


//数量变更
$choosed_sku = '';
$sku_id = '';
if($_POST['sku_id']){
    $sku_id = $_POST['sku_id'];
    $choosed_sku = c_getRow("select * from tbl_goods_sku WHERE id = ".$_POST['sku_id']." limit 1");
    $sku_info_name = explode(',',$choosed_sku['sku_info_name']);
    $choosed_sku['sku_info_name_arr'] = $sku_info_name;
    $sku_pic_arr = $choosed_sku['sku_pic'] ? explode(',',$choosed_sku['sku_pic']) : '';
	$arr = array('error'=>0,'money'=>$choosed_sku['price'],'vipmoney'=>$choosed_sku['vip_price'],'img'=>$sku_pic_arr,'skuid'=>$sku_id,'sku'=>$choosed_sku['sku_info_name']);
	echo json_encode($arr);	
}


